package com.cn.jinl.dao;

import com.cn.jinl.domain.CheckLine;
import com.cn.jinl.domain.CheckLineExample;
import java.util.List;

import com.cn.jinl.utils.QueryForm;
import org.apache.ibatis.annotations.Param;

public interface CheckLineMapper {
    int countByExample(CheckLineExample example);

    int deleteByExample(CheckLineExample example);

    int insert(CheckLine record);

    int insertSelective(CheckLine record);

    List<CheckLine> selectByExample(CheckLineExample example);

    List<CheckLine> selectAllHistoryCheckLines(QueryForm queryForm);
    List<CheckLine> selectHistoryCheckLines(QueryForm queryForm);
    int selectHistoryCheckLineCount(QueryForm queryForm);

    int updateByExampleSelective(@Param("record") CheckLine record, @Param("example") CheckLineExample example);

    int updateByExample(@Param("record") CheckLine record, @Param("example") CheckLineExample example);

    int getQualityAnalysisCount(QueryForm queryForm);
}